{%extends file="wap_share/page/lotterylayout.tpl"%}

{%block name="sub-static"%}
    {%require name="wap_share:static/lottery/lottery.js"%}
    {%require name="wap_share:static/lottery/lottery.less"%}
{%/block%}

{%block name='body-layout'%}
    <div class="share-lottery">
        <div class="progress progress2"></div>
        <div class="container">
            {%if $error_no != 0%}
            <div style="text-align: center;color:#fff;font-size: 18px">您今天不能抽奖了</div>
            {%else%}
            <div class="lottery-wrap">
                <img class="lottery-bg" src="../static/lottery/image/lottery.png">
                <i class="lottery-btn"></i>
                <i class="lottery-icon"></i>
            </div>
            <div style="padding-top: 20px">
                <a class="share-btn else-lottery-btn">抽奖</a>
            </div>
            {%/if%}
        </div>
    </div>
{%/block%}